/*!
 * Project's name: Ziemianie
 * Supervisor: mgr Tomasz Kornuta, Warsaw University of Technology
 * File's autors: Michal Lisiecki, G1ISI, Warsaw University of Technology
 * Date: 3-12-2008
 * Description:
 * 	SCZR Coursework
 * 	Team: Jakub Rosiak, Michal Lisiecki, Michal Plutecki
 * 	Warsaw University of Technology
 * */

#ifndef MESSAGEDELIVERYSERVICE_H_
#define MESSAGEDELIVERYSERVICE_H_

#include "../Komunikacja/MessageListener.h"
#include "DBKlewki.h"

/*!
 * \brief
 * Class used to handle incoming messages.
 * 
 * \see
 * MessageListener
 */
class MessageDeliveryService : public MessageListener {
	DBKlewki * dbKlewki;
public:
	MessageDeliveryService();
	virtual ~MessageDeliveryService();
	
    /*!
     * \param msg an message to be handled.
     * \param s a constant character pointer.
     * \return status
     */
	int messageListener(Message * msg);
};

#endif /*MESSAGEDELIVERYSERVICE_H_*/
